Removed "evil hack" for pointer to Core instance. Now using userdata
pointer.
Use pimpl idiom for Core class.
Classes CString and CUserId seperated into own source files.