move code to lib directory