Renamed tests and added main ctrl tests
Started refactoring PdfFactory
Moved main ctrl densities to service
Started refactoring chart and PDF service