Added new Community Class, also refactory the Base Record and Rest Classes