added put fn and made get fn work as a stream
added put fn and made get fn work as a stream
basic regex parsing