fixed lib layout and structure, created logger module