Refactoring thread, posts and attachments out of board module
Eunit testing
Refactoring