add test code and java files for NetworkController, ScoreController and Usercontroller