added photo controller and crud
adjust crud for inheritance still needs fixing