OOP core with autoloader

this is my contribution to get this thing startet.

- autoloader
- moving functions to be integrated into the class to ./deprecated.php
- moving stripped functions/functionalities to ./depreacated/* folder for now - to be recycled in addons
- deprecation of ~680 lines of code