Conventions refactor

Rails conventions refactor.
- renamed tables
- renamed models, views and controllers
- tests refactor
- added more tests
- make all tests pass