Another set of changes.
* Forgot to update buildscripts and add makefile for migration tool
* Added missing newlines at the end of some files (I blame mousepad)