params parsing & directories structure