Use classes instead of modules
Fix #13; remove duplication
Move attrs into a folder
Rename "attr" to "filter"
Move filter specs into folder
Fix misnamed variable