Add main function to boot up