renaming sample controller and adding correct annotations