Simple object model library for both client and server sides