add js date library
start adding x as relational model