First working prototype (in OSX)