Added piece of core

Added repositories, styles, mappers