PHP OOP, includes folder, SQL statements

switched to object oriented php
created includes folder for some php files
replaced sql queries with prepared statements in register.php