Reworked repo layout. Added initial sphinx docs.