More library work.

Added classes from the OS library. Added page visibility to
Application. Added build files.