add css
add js functionalilty for buttons
use api, add comments