updated core with completed theme functionality, example bootstap theme