Split the logic into other files. Attach "run" to server