Add: base code and basic documentation