add patterns
add facade pattern and comments in interface.php