made BXImage an Objective-C .m file