Moved code to new file. Started prebios