clean up lots of code

implementing 'sane' settings
cleaning data classes. reorganizing actors.  implementing ioc. no longer
builds :(