First working version of syncstore
Adding underscore library for convenience