Cleaned up errors, added function declarations for mounts to the header file