Merge "Turning stack_core into a class to make it compatible with adbs."