added 'CIntegraSession' as entrypoint for API and 'CServerLock' to manage locking
renamed some classes in preparation for creating api classes
added api interface classes IServer, INode, INodeEndpoint