[Update] chart package

Implementation of Factory Pattern using reflection
[Update] util package

Added more utility functions
[Update] Cleaned up code.
[Update] added chart factory initialization