Added basic PC functionality and updated test code.