added controller and renamed files