Organize Files

cleaned up file organization
- moved php files to a separate folder
- renamed library folder