added logger and implemented into deposit and withdrawl
first draft of application interface