added function access levels
Merge pull request #16 from cfoellmann/access

added function access levels