Information-based approach towards a unified resource theory