Added skeleton of core library.
Got compilation to succeed, but unit tests are failing all over the place.