renamed app
pulled out js to it's own files