refactor of agent.go
test cases of agent
implemented basic functions of messenger.go
minor fixs & fix test cases
an implementation of in-memory auth
temporary commit