Intial work in first om application (not finished).