Initial commit of core files