Removed the main function, to allow it to be used within DorvenRealms