Updated with non-tested final SMSSec structure

Now to implement flask