Add install instructions
Fix missing patters and missing imports