Changing from executable to library: New file hierarchy