removing vendor directory, slight refactor