Added boilerplate attributes.c functionality

Implemented attributes_get_status.
Added boilerplate function for attributes_match_index.
Re-implemented the pre-commit hook