Model changed according to ORLite
Added select.sql and documentation