added separate controller files and partials