Initial library code commit

apply lib ver 0.1