changes to fire in mainclass and removed all wrong main methods