Moved functions to custom post base class. Custom posts now working with base class
implemented radio, checkbox and base css