add/update index.html
make model classes serializable
remove filthy hacks