some cleanup, moving all defaults to a params file and fixing init calls to sub class defines