a basic flask structure