another one 

added base view
added api methods in js