Added GPL licence statement to the main controller and model files.