update to latest bricks lib and draft some layout exerimental code