added hama dependency
updated Agent struct
added algo package