Complex sentence: A single storied building was constructed along three inner sides of the rampart wall, with barracks, warehouse, kitchen and Jail.
Split into simpler sentences: A single storied building was constructed along three inner sides of the rampart wall. These rooms were used for barracks, warehouse, kitchen and Jail.