organized library code into lib