updated libraries, deleted unnecessary files, added dynamic braking, cleaned up code