modify user interface, add POI class and TOI class