first working prototype

This is the first version that can actually be released