Rename main module to controller