Started adding some Server methods, adding some Util classes and adding a way to get the token from the Resource