Making Library's that use direct port manipulation?