Added basic vector struct. Cleaned up code.