Added calculation classes, and beginning ajax handlers.