Started precise_bbcode refactoring