Moved copy media file method to media file controller, improved layouts, use by default sqlite db