updated lots of stuff. Active records and tested them. Ids
forgot some files