broke out main file into individual files