Chirp kernel skeleton implemented, fixed horrible runtime errors