Engine cleanup

- Cleaned up shapebase
- moved script binding methods to various class_script files.