Created main module with a bit of init code