Stage 1: Refactored sandbox files

Refactored sandbox files into common and removed sandbox folder. Updated build scripts accoringly and builds successfully.