Finished the getTopicsForBoard and getRepliesForTopic functions

Fleshed out more functions in Core.php