public to final

Changed classes from public to final