Added the main

Main is now in a state where it works again.
Revert "Added the main"

This reverts commit f867ba41bec32ee4d3f98bd824f8bd62ff96d2d5.
Revert "Revert "Added the main""

This reverts commit 4d01922ff6d791670ba872f3a553953be076df27.