move citadel room functions into its own file.