Modified project delegate and view controller