added rudimentary models
added privacy class for filtering posts query
added group by filter