Deleted unnecessary files and pass parameters to view instead of recreating one