moved source to lib directory