Moved w8,w16,int conversion helpers to main module.
Added Graphics module.