swicthing to mysql, refactoring creating tables on migrations, usage of add_index, adding RSpec