Ab initio calculations of nuclear systems