Improve rails initialization process.
Add specs for configuration classs.
Add travis config to project.