Added vector class and finally fixed files