Added first version of ER model, cleaned up CSS