Added custom lodev libraries and re-written.