initial test using pyugrid. very messy need work but the app is working.