base framework from medapp2rim converter