Made an express skeleton and moved pre-existing code into the skeleton.