add basic implementation for route guards
add license to php file headers
add test modules