Dev1

First working version.