Refactor of structure

Has somethings todo here...

- [ ] Rewrite tests 
- [ ] Register on travis.ci
- [ ] Basic controller
- [ ] A section **How to use this library** on documentation.