separated the c api header and the cpp into smaller files (made a script to rebuild, didnt want to mess with the makefiles... eugh) also added script to generate function for every constraint to reimplement their superclass