Added some remote methods, and unit tests