- Return setup function and some validations;
Merge pull request #1 from fernandosouza/master

- Return setup function and some validations;