add mainpage app
a better logger now