updated code API and problems as well as agent.java and problemset.java