Database connection is no longer a class variable

Pass $pdo to all methods requiring database read/write