Splitting the library files from main