added main api class
added build dependencies