Moved server and UI code to separate file, the Shiny way :)