Use Service and delete a lot of things

Delete ViewPage because I can't master it.
Use DataInputStream and DataOutputStream.
Use Service.