Untested first version of productive mode
Add class for storing row data using prepared statements. Only alter table or use unknown and potentially unsafe data for columnnames if not in productive mode
generic.php: Use spaces instead of tabs, increase consistant styling, add some more comments.