adds main
main functionalities completed
adjusts private APIs; updates README>md