Business filestructure

Moved all the non-presentational stuff to lib.