refactor core (modules, aspects) complete. fixes #47