api demonstration example
updated license
implemented core design