First working version of pixel server! Ported 2d arrays to array[x][y] structure