Rough version of open action and some front end work