Move internal classes from public to package.
Merge pull request #207 from m1ch1/master

hide internal classes