Initial commit of core classes.