Initial Commmit of working 1.0 version (from 2010).
List of changes necessary before suggesting merge with main trunk added as comments.