[meta] Move matching method to the reflection

Also add `reflection` package.