First working version, ready for deploying.