add db migrations & cljs support

Change-Id: I1e1f9fac7c28e80fae70b24aa3bbdea28544455b