major refactoring and restructuring of files; removed widespread use of mewlo-independent helper baseclasses as unwieldly