Simple post storage

Simple storage of posts. 
* A memory based one which stores posts in an array. 
* A file based one which stores posts in a file as json.