Cleans up main a bit