A General Relativistic Approach to Small-Scale Structure Formation