General Refactor of TinyPress Core