Moved constant assignment below exports.
Added PIN_MAPPING to constant.
Added resource/ directory.