Use errno. Put load_floorc into migration.
Add host to api functions. Start passing auth around. Replace floorc with floorc json.