Enable lints and rename variables containing old names
Move lints from Makefile into crate
Fix tests