Added library skeleton, defined some constants.