Added storeBuffer, retrieveBuffer

* Cleaned up more code
* Refractoring a bit
* Added a create server file button in example