Adding initial version of sync script and db