Some entities work

Added Script and child classes, plus some JSON serializing code