refactoring controllers, add multiple upload files