Changed the syntax for configuration; added more relationships