Refactored some code
Adding setup routine
Replaced logback through log4j