added test, example, and lib directories