Refactor

# NOT READY TO MERGE #

## Features working:

* Module loading
* Widgets

## Features partially working:

* Modules apis
* i18n

## Features not tested yet:

* triggers

## Modules that work

* Account