Updated comments. Improved logger for application. Fixed one logger bug. Removed some unused methods.