added trainers
changed code to erb and some more controllers