Starts implementation of main context.