Move library files into independent directory