Added some apis and whatever