Finished migration and implemented all the makefiles.