First version

closes #1