added core & main libs