implements stat
Merge pull request #9 from thecabinet/stat

implements stat