Converted main() to classes
Makes accessing ft_loop and ft_event a lot easier