Added some basic layout stuff and added code references.