added validation, some issues not finalized yet.
finalized validation
Merge pull request #5 from camidulce/validation

Validation