Implemented create method
Implemented error messages
General refactoring and improvements