Add .idea to gitignore.
Adding in missing 'new' keyword to object creation.