added initial styling for app
updated scope to use timeout for m2x function