Changed some spaguetti code from Server.java
Deleted useless functionalities.
Added new Options:
	->update all
	->update resource