DataBase setup, models, adapter and sample uses

NOTE that when creating the tables in phpmyadmin you MUST set them as MyISAM instead of InnoDB - throws exception otherwise!