added haml gem
moved generate method from url controller to url model