Renamed modules
Moved logic for modules into own classes and created a factory for creation of modules.
Forgot this module
Introduced a repository for getting data.
Fixed so it works to select only specific modules
Cleaned up api and added methods for both charts.