Restructured folder for StarX

The restructured folder:
1. moves all StarX specific files (.ts, .js,) to the folder src.
2. tested with localhost and had expected behavior
3. tested with phonegap build for android and had expected behavior