Split big file into modules. Added a notification service that takes care of errors and stuff...