Beta 0.1

News:
- code beautifying
- working main functions