first working version, no maven yet, just proof of concept