adding gitignore
adding even simpler public functions
re-implementing function calls