Adding comments for models and fix some functions to return false when object doesn't exist.