Fixed a bunch of previously unchecked areas on the types.
made the src point to newsrc
Added some basic vector operations.