Making _shared scripts for pretty printing and lint

This finishes the rest of issue #9