add new migration and modified the database
change controller
fix error
change controllers methods to models methods
Merge pull request #11 from josev/methods_2

Methods 2