Added npm hooks and updated readme