--[[
	Server init file
]]

local ServerStorage = game:GetService("ServerStorage")
local ReplicatedStorage = game:GetService("ReplicatedStorage")

local PlayerManager = require(ServerStorage.Source.Managers.PlayerManager)
local ServerStateMachine = require(ServerStorage.Source.GameStates.ServerStateMachine)
local Constants = require(ReplicatedStorage.Source.Common.Constants)
local Logger = require(ReplicatedStorage.Dependencies.GameUtils.Logger)
local ProfessorController = require(ServerStorage.Source.Controllers.ProfessorController)
local SetupLobby = require(ServerStorage.Source.SetupLobby)

Logger.setCutoff(Constants.LoggerLevel.Warn)

PlayerManager.init()
ServerStateMachine.init()
ProfessorController.init()

SetupLobby()
