Quick draft

I used MySQL as database
Data that should be insert into db is here: https://www.dropbox.com/s/s27q8trbk7fpyp2/tisa.sql.7z

Sorry for not using PostgreSQL, haml and other new stuff since I'm not familiar with them yet.