Removed dependency to flask