Base layout implemented. Closes #4