added scafolding for api and couple of methods