Move lots of stuff in to BlocklyApps.init