added libraries, player model and cleaned things up