refactor initial script bundling and delay responses to requests for scripts before loaded
serialize and deserialize apps on server startup to avoid compilation