Heavy Flavor Production, Flow and Energy Loss