Register new endpoint done
Renamed file handler to main