code cleanup
removed console.log statements
added interfaces