Moved the lib code to a different package, reformated everything.
Set the Telegram log level from command line.