Back end filtering done.

Not hooked up, needs testing, placeholder drawing function in place.
Load more posts button simple to implement once that's done.