Revamp getpost(s) and getcomments to use db
update .gitignore