Refactoring fileman library to use singleton FileManager object in prep for htn.

* Also cleaning up old style compilers to use new library.