added postings and command design pattern