add package json for testing and moment
add travis test script