Closes #11. Implement shell core.