Port low level

Most important functions added & working
return what?