Move to flask
List cube and details endpoints