First working prototype - primitive database