add resource parser implementation