Added most base libraries

Added the most basic libraries and their layouts, but most
implementations are still required.