add flat ui, build some modules on the front end