Setting up the database
Added Pic  controller and all the connections