We can now pin videos. Databse is now a singleton in all classes. Also added the connect and disconnect functions vefore and after every database call.