did some OOP shit, finished the DB shit

Pulled the line objects into two classes, one which builds the line info and saves it to the DB, and one whih grabs it from the db. I also finished the PDO shit, and created a means to dynamically use the environment's db creds. nifty.