updated test cases
updated src code, improved logging, added cli interface and endpoint manager
updated scheduler