Added log levels, removed html template