Adding allowed blocks list
Adding basic API