Moved code content from mono file

Separation was made by topic