Update lib directory structure