Added file upload and submission creation
Additionally fixed object removal from DB