Main form design