Restructured code
Revert "Restructured code"

This reverts commit e568182f60a2641171a6d643e1d35607c6e03cc9.
Implemented kprintf()