Common structure for simple Flask REST APIs