added -Wall gcc flag, clean up