#6 added createLevelRecord function to call for createDefaultLevel to ensure no duplicated level creation code on the server side