Removing all the data logic from the client