Move LayerAdapter to seperate file.
Add file for fully connected test cases.