Clean up socket receive.
Add basic API for point retrieval.
Add grid frame API.