HelperClass file .. has common methods for client and server