added working grid style, started vector input parsing