public_html / lib split

Moved front-end to public_html, back-end to lib