task fixes
module api refactoring
massive style refactoring