added more view interfaces, set up console interface.