Adding vim modelines to new files
Fix code formatting to match the rest of the lib
Updating license header in new files