extract Resource interface
Move resource implementations into impl package
remove top-level SpecialAttributes