Merged main app files into src from `scripts`