Implement merging upper envelopes
Forgot a few things
Add basic file operations
Alphabetic sorting in src/CMakeLists.txt