Cleaned up the module file a bunch and added in permissions.yml