Initial implementation of flask