Cleaning up Kernel and added Ajax