Implemented execv and refactored some stuff