starts main class, adds basic io