adding controllers and related functional tests. routes set up as well