moved types and records to defs.hrl

removed old hrls to fix include too deep
put char and room records in respective modules

removed references to record constructors