added create and export functionality; refactoring of controller/services