initializing main files