it's alive! base app code