Merge pull request #11 from yaplas/refactor/validations

refactor validation error messages
change module.exports by exports