leaned up unused libraries and elimiated redundancies