removed logging and tests for now. implemented full API functionality. better tests and logging will follow.