remove static variables
send resources to the server