Init the base structure for directories and main files