First possible working version, blindly developed...
Adding all files, incl. class files for easy use...