Fixed issue #55. Removed basic layout class in favor of json layout build_spec. Fixed restart button. Fixed all run modes