seperated server tick code into its own actor