basic library layout, first piece of code and tests