Joint Offloading Scheduling and Resource Allocation in Vehicular Edge Computing: A Two Layer Solution