[added] basic logsystem to help debugging
[added] log method to apps
[fixed] update being called before appengine is initialized