Added additional code samples

removed connections to db and objects for other api's