added flats model and controller, installed simpleform
added bs for rails
added devicetype and device models and device controller
added all required models
Merge pull request #3 from alaurenty/register

added all models