[feature] named endpoints

This would fix #16