Remove unecessary usage of collections
Format code and remove unused statements
Rewrite logback unit tests
Add more tests for the Logback appender