Modified a lot of stuff, corrected bugs and added kve mode