Added cpu and memory monitoring

Added cpu and memory monitoring and .gitignore is updated