added states to trip module, list state and details state, added details view