Adding the first code implementations

The program is working but now without bugs. Status line implementation
started. Threading.