Adding resources nfs and groups. Cleaned code