Init file hierarchy

Patterns and tests init