added initial views
added api
integrate api