Library commit

Initial rough code.