Added code architecture docs