Rearranged packages.

Now uses Guava library to get the list of classes from different
packages.

Added JUnit test for retrieving package lists.