few fixes to make it work

added a initial ranking of posts (currently just random) and other
pseudo-features