changing datamapper setup
fixed flash problem and added more style to the app