Constructor and routes set